package org.zjvis.datascience.service.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.zjvis.datascience.common.dto.CaseOnlineDTO;


import java.util.List;

@Mapper
@Repository
public interface CaseMapper {
    List<CaseOnlineDTO> query(String msg,String key);
    List<CaseOnlineDTO> queryStarAsc(String msg,String key);
    List<CaseOnlineDTO> videoLoadDesc(String msg,String key);
    List<CaseOnlineDTO> videoLoadAsc(String msg,String key);
    int addCollect(int case_id);
    int deleteCollect(int case_id);
    CaseOnlineDTO queryById(int id);
    int addVideo(int id);

}
